const apis = {
	//可视化图表
	getGoodsCharts: '/charts/getGoodsCharts', //获取商品总览
	getSalesCharts: '/charts/getSalesCharts', //获取销售总览
	getPurchaseCharts: '/charts/getPurchaseCharts', //获取采购总览
	getPayCharts: '/charts/getPayCharts', //获取付款总览
	getReturnCharts: '/charts/getReturnCharts', //获取回款总览
	getGoodsByNode: '/charts/getGoodsByNode', //获取具体商品
	getSalesByNode: '/charts/getSalesByNode', //获取具体销售
	getPurchaseByNode: '/charts/getPurchaseByNode', //获取具体采购
	getPayByNode: '/charts/getPayByNode', //获取具体付款
	getReturnByNode: '/charts/getReturnByNode', //获取具体回款
	getPurchaseByOrder: '/charts/getPurchaseByOrder', //获取具体回款

	// 商品
	addGoods: '/goods/addGoods',  //新增
	delGoods: '/goods/delGoods',  //删除
	updateGoods: '/goods/updateGoods',  //修改
	getGoodsList: '/goods/getGoodsList',  //分页获取商品
	getGoodsListFront: '/goods/getGoodsListFront',  //前端获取商品（isShow控制显隐）
	getAllGoodsList: '/goods/getAllGoodsList',  //获取所有商品
	getGoodsById: '/goods/getGoodsById',  //获取指定商品
	searchGoods: '/goods/searchGoods',  //搜索商品
	groupByType: '/goods/groupByType',  //首页按分类获取***
	pushToIndex: '/goods/pushToIndex',  //推荐商品到首页
	changeOrder: '/goods/changeOrder',  //推荐商品的排序
	getGoodsBySku: '/goods/getGoodsBySku',  //推荐商品的排序

	//类别
	addType: '/type/addType', 	//新增
	delType: '/type/delType', 	//删除
	updateType: '/type/updateType', 	//修改
	getTypeList: '/type/getTypeList', 	//获取分类列表
	getAllTypeList: '/type/getAllTypeList', 	//获取所有分类
	updateTypeOrder: '/type/updateTypeOrder', 	//获取所有分类
	getIndexNavType: '/type/getIndexNav', 	//获取前端首页导航类别

	// 销售分组
	addSalerGroup: '/salerGroup/add',
	getSalerGroup: '/salerGroup/get',
	updateSalerGroup: '/salerGroup/update',
	delSalerGroup: '/salerGroup/delete',

	//销售人员
	addSaler: '/saler/addSaler', 	//新增
	getAllSalerList: '/saler/getAllSalerList', 	//获取所有
	getSalerList: '/saler/getSalerList', 	//获取分页
	updateSaler: '/saler/updateSaler', 	//更新数据
	delSaler: '/saler/delSaler', 	//删除
	updateFullname: '/saler/updateFullname',
	currentFullname: '/saler/currentFullname',
	checkPassword: '/saler/checkPassword',
	salerChangePwd: '/saler/changePwd',
	salerChangeStatus: '/saler/changeStatus',

	//渠道	
	addChannel: '/channel/addChannel', 	//新增
	delChannel: '/channel/delChannel', 	//删除
	getChannelList: '/channel/getChannelList', //获取
	getAllChannelList: '/channel/getAllChannelList', //获取所有
	updateChannel: '/channel/updateChannel',//修改	
	checkChannelExists: '/channel/checkChannelExists',//	

	//采购
	addPurchase: '/purchase/addPurchase', 	//新增
	delPurchase: '/purchase/delPurchase', 	//删除
	getPurchaseList: '/purchase/getPurchaseList', 	//获取分页
	getAllPurchaseList: '/purchase/getAllPurchaseList', 	//获取所有
	updatePurchase: '/purchase/updatePurchase', 	//修改
	getStock: '/purchase/getStock', 	//获取有库存的采购项
	getPurchaseBySku: '/purchase/getPurchaseBySku', 	//
	getPurchaseForTable: '/purchase/getPurchaseForTable', 	//生成表格所需
	purchaseSearchByJdCode: '/purchase/searchByJdCode',
	purchasePayBatch: '/purchase/purchasePayBatch',
	purchaseBindGoods: '/purchase/purchaseBindGoods',

	//订单
	preAddOrder: '/order/preAddOrder', 	//预录入
	addOrder: '/order/addOrder', 	//新增
	delOrder: '/order/delOrder', 	//删除
	getOrder: '/order/getOrder', 	//获取分页
	getAllOrder: '/order/getAllOrder', 	//获取所有
	updateOrder: '/order/updateOrder', 	//修改
	bindPurchase: '/order/bindPurchase', 	//绑定采购
	changeStatus: '/order/changeStatus', 	//发货
	cancelOrder: '/order/cancelOrder', //取消
	preOrderCancel: '/order/preOrderCancel', //预订单取消
	returnedStatus: '/order/returnedStatus', //回款
	invoiceStatus: '/order/invoiceStatus', //发票
	getOrderForTable: '/order/getOrderForTable', //生成表格所需
	orderSearchByNumbers: '/order/searchBySkus',
	orderReturnBatch: '/order/returnBatch',

	//订单开销
	getLossList: '/loss/getLossList',
	addLoss: '/loss/addLoss',
	delLoss: '/loss/delLoss',
	getLossDictionaries: '/loss/getDictionaries',

	//公共支出addExpenditrue	
	addExpenditure: '/expenditure/add',
	editExpenditure: '/expenditure/edit',
	getExpenditureList: '/expenditure/get',
	removeExpenditure: '/expenditure/remove',

	// 开关按钮（付款回款开票信息等）对应的时间
	payDate: '/purchase/payDate',
	invoiceDate: '/purchase/invoiceDate',

	// 电商平台
	getPlatFormList: '/platform/get',

	//业绩管理
	getPerformanceList: '/performance/get',
	addPerformance: '/performance/add',
	editPerformance: '/performance/edit',
	deletePerformance: '/performance/delete',
	getOrdersByMonth: '/performance/getOrdersByMonth',
	getLoanByDate: '/performance/getLoanByDate',
	notReturnedOrders: '/performance/notReturnedOrders',

	//用户
	login: '/user/login', //登录
	getUserList: '/user/getUserList', //分页获取
	addUser: '/user/addUser', //
	checkExistUser: '/user/checkExistUser', //
	delUser: '/user/delUser', //
	userStatus: '/user/status', //
	bindAuth: '/user/bindAuth', //
	getCurAuth: '/user/getCurAuth', //
	updateUserInfo: '/user/updateUserInfo', //
	updatePassword: '/user/updatePassword', //
	changeAuth: '/user/changeAuth',
	getUserNoAdmin: '/user/getUserNoAdmin',

	// 用户组	
	getUserGroup: '/user/getUserGroup',
	addUserGroup: '/user/addGroup',

	//权限列表
	getAuthList: '/authList/get',  //获取
	addAuthList: '/authList/add',  //新增
	delAuthList: '/authList/del',  //删除
	updateAuthList: '/authList/update',  //更新
	checkExistAuth: '/authList/checkExistAuth',  //更新

	//客户
	addClient: '/client/addClient',
	getClientList: '/client/getClientList',
	delClient: '/client/delClient',
	updateClient: '/client/updateClient',
	checkClientExists: '/client/checkExists',


	//商铺
	addShop: '/shop/addShop', //新增
	getShopList: '/shop/getShopList', //获取
	delShop: '/shop/delShop', //删除
	updateShop: '/shop/updateShop', //修改

	//操作日志	
	getLogsList: '/logs/getLogsList', //获取

	//公共
	publicApi: '/public', //

};

export default apis;
